package com.itheima.zy;
/*
自定义泛型类
 */
public class Text {
    public static void main(String[] args) {
        Box<String> box1 = new Box<>();
        box1.setE("卢本伟");

        String e = box1.getE();
        System.out.println(e);

        Box<Integer> box2 = new Box<>();
        box2.setE(19);
        Integer e1 = box2.getE();
        System.out.println(e1);

    }
}
